package com.java.star.mall.front.pojo.po;

import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 购物车商品PO实体，用于存放缓存
 */
@Data
public class CartPO implements Serializable {

    private static final long serialVersionUID = 4038756076798846553L;

    //id
    private Integer id;

    //名称
    private String name;

    //价格
    private BigDecimal price;

    //商品图片
    private String proPic;

    //类别id
    private Integer categoryId;

    //描述
    private String description;

    //商品数量
    private Integer num;

    //是否选中
    private Boolean checked;

}
